.code {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right {
    color: green;
    background-color: blue;;
}

.error {
    color: red;
    background-color: yellow;;

}